package cn.Liujialin.org.service;


import cn.Liujialin.basic.util.PageList;
import cn.Liujialin.org.domain.Department;
import cn.Liujialin.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {

    void save(Department department);

    void del(Long id);

    void update(Department department);

    Department findById(Long id);

    List<Department> findByAll();

    PageList<Department> queryPage(DepartmentQuery query);

    void patchDelete(List<Long> ids);

    List<Department> queryTree();
}
